package com.santiao.youxiang.ui.activity

import android.content.Intent
import android.os.Bundle
import android.provider.Settings
import android.util.Log
import android.view.View
import com.santiao.youxiang.R
import com.santiao.youxiang.base.BaseActivity
//import com.santiao.youxiang.utils.GetHttpDataUtil.setBuryingPointLog

class RYStrongXZActivity: BaseActivity() {

    private var TAG= "StrongXZActivity"

    override fun onNewIntent(intent: Intent?) {
        super.onNewIntent(intent)
        Log.e(TAG,"StrongXZActivity onNewIntent")

    }

    override fun getLayoutId(): Int = R.layout.activity_screenopen

    override fun initView(view: View, savedInstanceState: Bundle?) {
        Log.e(TAG,"StrongXZActivity initView")
//        setBuryingPointLog("uninstall")
        val mIntent = Intent(Settings.ACTION_MANAGE_APPLICATIONS_SETTINGS)
        mIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
        startActivity(mIntent)

        android.os.Handler().postDelayed({
            finish()
        },200)
    }

    override fun onResume() {
        super.onResume()
        Log.e(TAG,"StrongXZActivity onResume")
    }

    override fun onPause() {
        super.onPause()
        Log.e(TAG,"StrongXZActivity onPause")
    }

    override fun onStop() {
        super.onStop()
        Log.e(TAG,"StrongXZActivity onPause")
    }

    override fun onDestroy() {
        super.onDestroy()
        Log.e(TAG,"StrongXZActivity onDestroy")
    }


}